<?php

namespace FrontModule;

/**
 * Homepage presenter.
 */
class DefaultPresenter extends FrontPresenter {

    public function renderDefault() {
       $tileModel = new \AdminModule\Models\Tile($this->db);
       $this->template->newTiles = $tileModel->where('action = 1')->order('id_tile DESC')->limit(4);
    }

}
